Print HTTP port number in the logs during startup
authorAndriy Senkovych <jolly_roger@itblog.org.ua>
Wed, 16 Nov 2016 22:46:01 +0000 (22:46 +0000)
committerAndriy Senkovych <jolly_roger@itblog.org.ua>
Wed, 16 Nov 2016 22:46:01 +0000 (22:46 +0000)
commita9e2d2fe9d05bba54f28c52256e62226399e3572
treefd539113fc1771d3c2177e549336e1ba10668a79
parentd1c460e64021907692304337754901850a5562bb
Print HTTP port number in the logs during startup

Last-Update: 2016-11-17

Current test suite allows dynamic HTTP port allocation for test purpose.
Once webdis is started it is possible to discover webdis' HTTP port using
netstat. However resent builds have shown that netstat has different options
for hurd and kfreebsd and thus tests are failed and the overall package build
is marked as failed as well. In order to overcome this I have tried to use
sockstat instead of netstat but bug #679876 renders sockstat unusable.

This patch removes the need to use netstat or sockstat to discover the port
number webdis is listening to and instead allows to simply grep the necessary
info out of webdis logs.
===================================================================

Gbp-Pq: Name print-listen-port-number.patch
server.c